﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.WarehouseManagement.ProductionPickings
{
    /// <summary>
    /// 生产领料表
    /// </summary>
    public class ProductionPicking : Entity<int>
    {
        /// <summary>
        /// 领料单编码
        /// </summary>
        [StringLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 领料名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime? PickingDate { get; set; }
        /// <summary>
        /// 生产工单
        /// </summary>
        [StringLength(50)]
        public string TicketsCode { get; set; }
        /// <summary>
        /// 工作站代码
        /// </summary>
        [StringLength(50)]
        public string? WorkstationCode { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        [StringLength(50)]
        public string? WorkstationName { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        [StringLength(50)]
        public string? ClientCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        [StringLength(50)]
        public string? ClientName { get; set; }
        /// <summary>
        /// 是否领出
        /// </summary>
        public int IsNoLead {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string? Remark { get; set; }
    }
}
